package trade.axht.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;


/**
 * <p>
 * 
 * </p>
 *
 * @author Yanghu
 * @since 2017-02-25
 */
@TableName("tb_new")
public class TbNew extends Model<TbNew> {

    private static final long serialVersionUID = 1L;

	private Integer id;
	private String author;
	private String content;
	private Integer counts;
	private Date timer;
	private String title;
	@TableField("user_id")
	private Integer userId;
	@TableField("newClass_id")
	private Integer newClassId;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getCounts() {
		return counts;
	}

	public void setCounts(Integer counts) {
		this.counts = counts;
	}

	public Date getTimer() {
		return timer;
	}

	public void setTimer(Date timer) {
		this.timer = timer;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getNewClassId() {
		return newClassId;
	}

	public void setNewClassId(Integer newClassId) {
		this.newClassId = newClassId;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
